package com.mbc.rmt.entities;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

import com.mbc.common.param.CriteriaRMParams;

@SuppressWarnings("serial")
public class DefinePaymentType extends CriteriaRMParams implements Serializable {

	private Long invoiceId;
	private String invoiceCode;
	private Date invoiceDate;
	private Date DPDate;
	private Long fromBranchId;
	private String fromBranchCode;
	private Long defaultbranchId;
	private String branchCode;
	private Date createdDate;
	private Long createdBy;
	private Date modifiedDate;
	private Long modifiedBy;
	
	private String fromReceiptNo;
	private String toReceiptNo;
	
	private ArrayList<DefinePaymentTypeDetail> l_detail;
	
	private boolean isTyping;
	private boolean isAddressLookup;
	
	public DefinePaymentType() {
		clearProperties();
	}
	
	public void clearProperties() {
		setInvoiceId(null);
		setInvoiceCode("");
		setInvoiceDate(new Date());
		setDPDate(new Date());
		setFromBranchId(null);
		setDefaultBranchId(null);
		setBranchCode("");
		setCreatedDate(new Date());
		setCreatedBy(null);
		setModifiedDate(new Date());
		setModifiedBy(null);
		
		setL_detail(null);
		
		setFromReceiptNo("");
		setToReceiptNo("");
		
		setTyping(false);
		setAddressLookup(false);
	}

	public Long getInvoiceId() {
		return invoiceId;
	}

	public void setInvoiceId(Long invoiceId) {
		this.invoiceId = invoiceId;
	}

	public String getInvoiceCode() {
		return invoiceCode;
	}

	public void setInvoiceCode(String invoiceCode) {
		this.invoiceCode = invoiceCode;
	}

	public Date getInvoiceDate() {
		return invoiceDate;
	}

	public void setInvoiceDate(Date invoiceDate) {
		this.invoiceDate = invoiceDate;
	}

	public Long getFromBranchId() {
		return fromBranchId;
	}

	public void setFromBranchId(Long fromBranchId) {
		this.fromBranchId = fromBranchId;
	}

	public String getFromBranchCode() {
		return fromBranchCode;
	}

	public void setFromBranchCode(String fromBranchCode) {
		this.fromBranchCode = fromBranchCode;
	}

	public Long getDefaultBranchId() {
		return defaultbranchId;
	}

	public void setDefaultBranchId(Long branchId) {
		this.defaultbranchId = branchId;
	}

	public String getBranchCode() {
		return branchCode;
	}

	public void setBranchCode(String branchCode) {
		this.branchCode = branchCode;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public Long getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(Long createdBy) {
		this.createdBy = createdBy;
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	public Long getModifiedBy() {
		return modifiedBy;
	}

	public void setModifiedBy(Long modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	public ArrayList<DefinePaymentTypeDetail> getL_detail() {
		return l_detail;
	}

	public void setL_detail(ArrayList<DefinePaymentTypeDetail> l_detail) {
		this.l_detail = l_detail;
	}

	public String getFromReceiptNo() {
		return fromReceiptNo;
	}

	public void setFromReceiptNo(String fromReceiptNo) {
		this.fromReceiptNo = fromReceiptNo;
	}

	public String getToReceiptNo() {
		return toReceiptNo;
	}

	public void setToReceiptNo(String toReceiptNo) {
		this.toReceiptNo = toReceiptNo;
	}

	public boolean isTyping() {
		return isTyping;
	}

	public void setTyping(boolean isTyping) {
		this.isTyping = isTyping;
	}

	public boolean isAddressLookup() {
		return isAddressLookup;
	}

	public void setAddressLookup(boolean isAddressLookup) {
		this.isAddressLookup = isAddressLookup;
	}

	public Long getDefaultbranchId() {
		return defaultbranchId;
	}

	public void setDefaultbranchId(Long defaultbranchId) {
		this.defaultbranchId = defaultbranchId;
	}

	public Date getDPDate() {
		return DPDate;
	}

	public void setDPDate(Date dPDate) {
		DPDate = dPDate;
	}
	
}
